package com.onec.service.trade.dao;

import com.onec.service.api.dao.BaseRepository;
import com.onec.service.trade.entity.DictInfo;
import org.springframework.data.repository.RepositoryDefinition;

/**
 * @author ONEC
 */
@RepositoryDefinition(domainClass = DictInfo.class, idClass = Long.class)
public interface DictRepository extends BaseRepository<DictInfo, Long> {

    DictInfo findByLabel(String label);

    DictInfo findByType(String type);
}
